//
//  URLCache.h
//  TravelWithYourHeart
//
//  Created by 邹功梁 on 15/9/21.
//  Copyright (c) 2015年 邹功梁. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
@interface URLCache : NSObject

+ (void) resetCache;

+ (void) setObject:(NSData*)data forKey:(NSString*)key;

+ (id) objectForKey:(NSString*)key;

+(void)removeObjectForkey:(NSString *)key;

+ (NSString *)md5:(NSString *)str;

+(NSDictionary*)returnDictionaryWithDataPath:(NSData*)data;

+(float)fileSizeForDir:(NSString*)path;

+(float)fileSizeForDir;

@end
